<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
		'id' => 'horizontalForm',
        'type' => 'horizontal',
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

		<?php echo $form->dropDownListRow($people,'people_type', $people->getPeopleType(), array('prompt'=>'Select Type..' ) ); ?>

		<?php echo $form->textFieldRow($model,'people_fname',array('size'=>45,'maxlength'=>45)); ?>

		<?php echo $form->textFieldRow($model,'people_lname',array('size'=>45,'maxlength'=>45)); ?>

		<?php echo $form->textFieldRow($model,'people_mname',array('size'=>4,'maxlength'=>4)); ?>

		<?php echo $form->textFieldRow($model,'people_gender',array('size'=>7,'maxlength'=>7)); ?>

		<?php echo $form->datepickerRow($model,'people_birthdate',
										array('prepend' => '<i class="icon-calendar"></i>',
											  'options'=> array('format'=>'yyyy/mm/dd',
											   					'weekStart'=>1, 
											   					'showButtonPanel'=> true,
											   					'showAnim'=> 'fold',))); ?>

		<?php echo $form->dropDownListRow($model,'people_marital_status', $model->getMaritalStatus(), array('prompt'=>'Select marital status..' ) ); ?>

		<?php echo $form->textFieldRow($model,'people_address_1',array('size'=>60,'maxlength'=>255)); ?>

		<?php echo $form->textFieldRow($model,'people_address_2',array('size'=>60,'maxlength'=>255)); ?>

		<?php echo $form->textFieldRow($model,'people_mobile',array('prepend'=>'+63')); ?>
		
		<?php echo $form->textFieldRow($model,'people_landline',array('prepend'=>'(02)')); ?>
	
		<?php echo $form->textFieldRow($model,'people_email',array('size'=>45,'maxlength'=>45)); ?>
		
		<?php echo $form->fileFieldRow($model,'people_photo',array('size'=>45,'maxlength'=>45)); ?>
		
	<div class="row">
		 <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'type'=>'primary','label'=>'save')); ?>
		 <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'reset', 'label'=>'cancel')); ?>
    </div>


<?php $this->endWidget(); ?>